Documentation > CMS Template API Library > User > LoadUsers(List[Int32])

LoadUsers

Use this to load a list of Users by a list of ids.

public List<User> LoadUsers(List[Int32])


Returns

List of Users

Parameters

NameDescriptionType
userIds A List of Ids. List<Int32>

Code Example

C#

Sample:

            
            List<int> userIds = ....
            List<User> users = User.LoadUsers(userIds);
            

Connect with Crownpeak